package com.yida.gwj.report.mapper;

import com.yida.gwj.report.domain.GwjCalculateRateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: PPV
 * @Date: 2023-03-17
 */
@Mapper
public interface GwjCalculateRateCommunityMapper {

    int insert(GwjCalculateRateLog log);

    List<GwjCalculateRateLog> listLogs(@Param("areaId") Long areaId, @Param("calculateFlag") String calculateFlag);

    /**
     * 批量新增房屋计息日志
     * @param newCommunityLogList
     * @return
     */
    int insertBatch(@Param("newCommunityLogList") List<GwjCalculateRateLog> newCommunityLogList);
}
